package com.bawei.controller;

import com.alibaba.fastjson.JSONObject;
import com.bawei.bean.AliPayBean;
import com.bawei.pojo.Indent;
import com.bawei.pojo.Order;
import com.bawei.pojo.User;
import com.bawei.service.IndentService;
import com.bawei.util.SnowFlakeUtil;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.redis.core.RedisTemplate;
import org.springframework.data.redis.core.ValueOperations;
import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;

import java.text.SimpleDateFormat;
import java.util.Date;

@Controller
@RequestMapping("/indent")
public class IndentController {
    @Autowired
    private IndentService indentService;

    @Autowired
    private RedisTemplate<String,String> redisTemplate;

    //前往订单列表
    @RequestMapping("/goOrder")
    public String goOrder(){
        return "order";
    }

}
